package com.example.app.network.api

import com.example.app.data.bean.BaseResponseData
import com.example.app.data.bean.UserInfo
import com.example.app.network.createWebService
import retrofit2.http.*

interface UserService {
    companion object {
        var service = createWebService(
            ServiceConfig.SERVER_URL,
            UserService::class.java
        )
    }
    //登录
    @GET("user/login")
    suspend fun login(
        @Query("Username") Username: String?,
        @Query("Password") Password: String?,
    ): BaseResponseData<UserInfo>
    //获取标题和分类
}


